﻿CREATE TABLE [dbo].[EventPhotograph] (
    [Id]       UNIQUEIDENTIFIER NOT NULL,
    [Caption]  NVARCHAR (200)   NOT NULL,
    [Url]      NVARCHAR (2048)  NOT NULL,
    [CreateAt] DATETIME2 (3)    NOT NULL,
    [EventId]  UNIQUEIDENTIFIER NOT NULL,
    CONSTRAINT [PK_EventPhotograph] PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [FK_EventPhotograph_Event] FOREIGN KEY ([EventId]) REFERENCES [dbo].[Event] ([Id])
);





